<!DOCTYPE html>
<html lang="zh-CN">

	<head>
		<meta charset="UTF-8">
		<meta http-equiv="X-UA-Compatible" content="IE=edge">
		<meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no" />
		<title>北网考试登录系统</title>
		{% load static %}
		<link rel="stylesheet" type="text/css" href="{% static 'user/bootstrap-3.3.7-dist/css/bootstrap.min.css' %}" />
		<style type="text/css">
			.mar{
				margin-top: 13%;
			}
			.pull-right{
				margin: 0 10px -10px 0;
			}
		</style>
	</head>

	<body>
		<div class="col-md-4 col-md-offset-4 mar">
			<div class="panel panel-primary">
				<div class="panel-heading">
					<h3 class="panel-title">登录系统</h3>
				</div>
				<div class="panel-body">
					<form class="form-horizontal" action="{% url 'user:succeed' %}" method="post">
					{% csrf_token %}
						<div class="form-group">
							<label class="col-sm-2 control-label">账号</label>
							<div class="col-sm-10">
								<input type="text" class="form-control" id="userid" name="userid" placeholder="请输入账号" minlength="7"  maxlength="12" />
							</div>
						</div>
						<div class="form-group">
							<label class="col-sm-2 control-label">密码</label>
							<div class="col-sm-10">
								<input type="password" class="form-control" id="pswd" name="pswd" placeholder="请输入密码">
							</div>
						</div>
						<div class="form-group">
							<div class="col-sm-offset-2 col-sm-10">
								<div class="checkbox">
									<label>
					<input type="checkbox"> 请记住我
				</label>
								</div>
							</div>
						</div>
						<div class="form-group">
							<div class="col-sm-offset-2 col-sm-10">
								<button type="submit" class="btn btn-default">登录</button>
							</div>
							<div class="pull-right">
								<a href="{% url 'user:register' %}">注册账号</a>
							</div>
						</div>
					</form>
				</div>
			</div>
		</div>
		<script type="text/javascript" src="{% static 'user/jquery-3.3.1.min.js' %}">
		</script>
		<script src="https://cdn.bootcss.com/jquery/3.3.1/jquery.min.js">
		</script>
		<script src="{% static 'user/bootstrap-3.3.7-dist/js/bootstrap.min.js' %}" type="text/javascript">
		</script>
	</body>

</html>